<template>
	<view class="content">
		<view class="content-page">
			<image class="img" src="https://jinchang-job-1306862033.cos.ap-chengdu.myqcloud.com/miniprogram-static/shop/pay_success.png">
				
			</image>
			
		</view>
		<view class="title">
			<view class="text">转账成功</view>
		</view>
		<view class="info-block">
			<view class="block">
				<view class="info-title">转账手机号</view>
				<view class="data">{{info.phone}}</view>
			</view>
			
			<view class="block">
				<view class="info-title">转账金额</view>
				<view class="data">{{info.price}}</view>
			</view>
			
		
		</view>
		<view class="btn" @click="navigate('/pages/index/index')">返回首页</view>
	</view>
</template>

<script>

	export default {
		data() {
			return {
				info:{
					phone:'',
					price:''
				}
			}
		},

		onLoad(e) {
			this.info.phone = e.phone
			this.info.price = e.price
		
		}
	}
</script>

<style lang="scss">
	.content {
		width: 100%;
		height: 100vh;
		padding-bottom: 20rpx;
		// background: #EFEFEF;
		padding: 30rpx;
		.content-page{
			margin-top: 30rpx;
			width: 100%;
			display: flex;
			justify-content: center;
			.img{
				width: 200rpx;
				height: 200rpx;
			}
			
			
		}
		.title{
			margin-top: 30rpx;
			width: 100%;
			display: flex;
			justify-content: center;
			
			.text{
				font-size: 38rpx;
				font-weight: bold;
			}
		}
		.info-block{
			margin-top: 60rpx;
			width: 100%;
			padding: 30rpx;
			background-color: #fff;
			border-radius: 20rpx;
			.block{
				display: flex;
				justify-content: space-between;
				height: 100rpx;
				.info-title{
					width: 40%;
					height: 100%;
					font-size: 32rpx;
					line-height: 100rpx;
					color: #787878;
					// border-bottom: 1px solid #787878;
				}
				.data{
		
					width: 60%;
					height: 100%;
					line-height: 100rpx;
					font-size: 32rpx;
					text-align: right;
				}
			}
			
			
		}
		.btn {
			position: fixed;
			transform: translate(-50%, -50%);
			left: 50%;
			bottom: 40%;
			z-index: 999999;
			width: 460rpx;
			display: flex;
			background: linear-gradient(to right, #FF2F34, #FF6B18);
			border-radius: 60rpx;
			height: 95rpx;
			align-items: center;
			justify-content: center;
			color: #fff;
		}
	}
</style>